﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace pipeCore.Pipes.Ports
{
    /// <summary>
    /// this interface represent the ports that will will send and receive data
    /// </summary>
    public interface IPort : IComponent
    {
        /// <summary>
        /// The port name
        /// </summary>
       String Name { set; get; }
        /// <summary>
        /// the port tag
        /// </summary>
         String Tag { set; get; }
        /// <summary>
        /// the port discribtion
        /// </summary>
        String Discribtion { set; get; }
        /// <summary>
        /// port data buffer
        /// </summary>
       Byte[] Data { set; get; }
        /// <summary>
        /// Stop the running port
        /// </summary>
       void Stop();
    }
}
